<%@page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="java.util.*"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="dreamtime.dreamnews.news.*"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.sql.*"%>
<%@page import="dreamtime.dreamnews.*"%>
<%@page import="java.sql.SQLException"%>
      <div class="about_menu">产品展示</div>
      <ul class="about_ul">
       <% 
        DBConnection accessconn=new DBConnection();
        Connection conn=null;
        PreparedStatement pstmt=null;
		ResultSet rs=null;
		int bigclassid=2;
		try{ 
        conn=accessconn.getConn();
        pstmt=conn.prepareStatement("select * from smallclass where bigclassid=? order by smallclassid ASC",ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
        HashMap     smallClassMap=LinkNews.getSmallClassName(conn,pstmt,rs,2,0,20,8);
        ArrayList   smallIdList=(ArrayList)smallClassMap.get("smallclassid");
		ArrayList   smallTitleList=(ArrayList)smallClassMap.get("smallclassname");
		for(int i=0;i<smallIdList.size();i++){
		%>
		<li>
		<a href="<%=response.encodeURL("/automobile/newsList.jsp?smallclassid="+(String)smallIdList.get(i))%>" target="_blank"><%=(String)smallTitleList.get(i)%></a>
		</li>
		<%
		}
		}catch(SQLException se){
		out.print(se.getMessage());
		}finally{
		accessconn.closeResultSet(rs);
		accessconn.closePreparedStatement(pstmt);
		accessconn.closeConnection(conn);
		}
		%>
      </ul>
      <div class="about_menu">联系我们</div>
      <ul class="about_ual">
         <li class="ul_tl">电话：0371-123456789</li>
         <li class="ul_tl">传真：0371-123456789</li>
         <li class="ul_tl">客服QQ：<a target="blank" href="http://wpa.qq.com/msgrd?V=1&Uin=000000000&Site=河南金沃汽车销售有限公司&Menu=yes">00000000</a></li> 
         <li class="ul_tl">E-mail：<a href="mailto:000000@126.com">00000@126.com</a></li>    
      </ul>
      <div class="left"><img src="images/tel.jpg" width="210" height="61" alt="全国免费咨询热线"/></div>
